package ebusiness.ebusiness.Entity;

import java.util.Date;

public class bigOrder {
    private int nut_order_form_id;
    private String nut_order_form_create_time;
    private String nut_order_form_pay_time;
    private String nut_order_form_status;
    private double nut_order_form_total_price;
    private  int borrower_id_borrower_id;
    private int brander_id_brander_id;
    private int pay_id_pay_id;
    private int shipping_address_id_shipping_address_id;

    private int customer_id_customer_id;
    private int order_form_id;
    private String good_form_create_time;
    private int good_form_num;
    private double good_form_price;//商品单价
    private double good_total_price;
    private int good_id;
    public bigOrder(){}
    public bigOrder(Order or,OrderDetail od){
        this.borrower_id_borrower_id=or.getBorrower_id_borrower_id();
        this.brander_id_brander_id=or.getBrander_id_brander_id();
        this.customer_id_customer_id=or.getCustomer_id_customer_id();
        this.nut_order_form_create_time=or.getNut_order_form_create_time().toString();
        this.shipping_address_id_shipping_address_id=or.getShipping_address_id_shipping_address_id();
        this.pay_id_pay_id=or.getPay_id_pay_id();
        this.borrower_id_borrower_id=or.getBorrower_id_borrower_id();
        this.nut_order_form_pay_time=or.getNut_order_form_pay_time().toString();
        this.nut_order_form_status= or.getNut_order_form_status();
        this.nut_order_form_total_price=or.getNut_order_form_total_price();

        this.good_form_price=od.getGood_form_price();
        this.good_total_price=od.getGood_total_price();
        this.good_form_create_time=od.getGood_form_create_time();
        this.good_form_num=od.getGood_form_num();
        this.good_id=od.getGood_id();
        this.good_id=od.getNut_order_form_id();
        this.order_form_id=od.getOrder_form_id();

    }

    public int getNut_order_form_id() {
        return nut_order_form_id;
    }

    public void setNut_order_form_id(int nut_order_form_id) {
        this.nut_order_form_id = nut_order_form_id;
    }
}
